package com.huan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huan.VO.PageVo;
import com.huan.domain.ResponseResult;
import com.huan.domain.entity.Tag;
import com.huan.domain.entity.TagListDto;
import org.springframework.stereotype.Service;

@Service
/**
 * 标签(Tag)表服务接口
 *
 * @author makejava
 * @since 2023-06-23 07:50:37
 */
public interface TagService extends IService<Tag> {

    ResponseResult<PageVo> pageTagList(Integer pageNum, Integer pageSize, TagListDto tagListDto);

    ResponseResult<PageVo> getAllTag();

    ResponseResult addTag(Tag tag);


    ResponseResult delTag(Long id);

    ResponseResult getTag(Long id);

    ResponseResult upTag(Tag tag);
}

